<template>
  <el-form-item label-width="0">
    <el-divider class="custom-divider-margin-top">
      {{ i18nt("designer.setting.optionsSetting") }}
    </el-divider>
    <option-items-setting :designer="designer" :option-model="optionModel" />
    <option-items-async-Setting
      :designer="designer"
      :option-model="optionModel"
    />
  </el-form-item>
</template>

<script>
import i18n from "Yan/utils/i18n";
import OptionItemsSetting from "./option-items-setting";
import OptionItemsAsyncSetting from "./optionItemsAsync-editor";

export default {
  name: "optionItems-editor",
  mixins: [i18n],
  props: {
    designer: Object,
    // selectedWidget: Object,
    optionModel: Object,
  },
  components: {
    OptionItemsSetting,
    OptionItemsAsyncSetting,
  },
};
</script>

<style scoped>
</style>

